import request from '@/utils/request'

export const getUserList = data => request.get('/park/sys/user', { params: data })
export const getUserItem = id => request.get(`park/sys/user/${ id }`)
export const delUserItem = id => request.delete(`/park/sys/user/${ id }`)
export const addUserItem = data => request.post('/park/sys/user', data)
export const editUserItem = data => request.put('/park/sys/user', data)
export const resetPassword = data => request.put('/park/sys/user/resetPwd', data)
